import React from 'react';

import { ButtonStyle } from '../theme/index.jsx'

function Button(props) {

    var { type = "default", size = "middle" } = props;

    return (
        <ButtonStyle type={type} size={size}>
            {props.children}
        </ButtonStyle>
    );
}

export default Button;